package com.yz.group1.group_1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

//Java中实体类，映射数据库中的department表
@Data
@TableName("hospitalization")
public class Hospitalization2 {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer patientId;
    private Integer doctorId;
    private  String reason;
    private Integer status;
    private String createdAt;
}